/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.ec.supplierapply.service.impl.SupplierApplyService
   Module Description   :

   Date Created      : 2009/12/3
   Original Author   : andy.chuang
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.ec.supplierapply.service;

import java.util.List;

import com.yaodian100.core.common.exception.CoreException;
import com.yaodian100.core.common.service.DomainService;
import com.yaodian100.ec.supplierapply.entity.NewSupplierApply;
import com.yaodian100.ec.supplierapply.entity.SupplierApplyPhoto;

/**
 * @author Tina.xu
 * 
 */
public interface NewSupplierApplyService extends DomainService<NewSupplierApply> {
	public void approve1(NewSupplierApply nsa);

	public SupplierApplyPhoto saveforPhoto(NewSupplierApply nsa, byte[] file, String decription, String imageFileName)
			throws CoreException;

	// public SupplierApplyPhoto updateforPhoto(SupplierApplyPhoto entity) throws CoreException;

	public void deleteforPhoto(String photoId) throws CoreException;

	public List<SupplierApplyPhoto> getPhotos(String sphentityId);

	public SupplierApplyPhoto getPhoto(String photoId);

	public void approve2(NewSupplierApply nsa);

}
